package spe.ui.editor.part;

import org.eclipse.draw2d.IFigure;

import spe.model.spem.MethodPlugin;
import spe.ui.editor.figure.FigureFactory;

public class MethodPluginEditPart extends AbstractElementNodeEditPart
{
	public MethodPluginEditPart()
	{}
	
	public MethodPluginEditPart(MethodPlugin dg)
	{
		setModel(dg);
	}
	
	@Override
	protected IFigure createFigure() 
	{
		return FigureFactory.createFigure( (MethodPlugin)getModel() );
	}
}
